package collection;

import exception.CollectionEmptyException;

public interface IPriorityQueue<K,V> extends Iterable<Entry<K,V>>{

	public int size();
	
	public boolean isEmpty();
	
	public Entry<K,V> min() throws CollectionEmptyException;
	
	public Entry<K,V> insert(K key, V value);
	
	public Entry<K,V> removeMin() throws CollectionEmptyException;
}
